$transitionTime: 0.5s;

@keyframes anime {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

* {
    outline: none;
}

a {
    color: black;
    text-decoration: none;
}

html,
body,
.main {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: rgb(246, 250, 255);
}

// 重置密码盒子样式
.forget-box {
    display: flex;
    width: 1400px;
    height: 700px;
    border-radius: 16px;
    overflow: hidden;

    // 左盒子样式
    .left-box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 50%;
        height: 100%;
        background-color: rgb(172, 198, 248);
        background-image: linear-gradient(-225deg, #2cd8d5 0%, #c5c1ff 50%, #ffbac3 100%);
        background-size: 600%;
        animation: anime 20s linear infinite;

        // 背景块样式
        .center-block {
            width: 70%;
            height: 70%;
            background-color: rgba(255, 255, 255, 0.35);
            backdrop-filter: blur(13.5px);

            // 文本样式
            .text {
                color: #fff;
                margin: 28px;
                position: relative;
                font-size: 24px;
                font-weight: 100;
            }
        }
    }

    // 右盒子样式
    .right-box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 50%;
        height: 100%;
        background-color: #fff;

        // 重置密码表单样式
        .forget-form {
            display: flex;
            flex-direction: column;
            width: 70%;

            // 重置密码标题样式
            .forget-title {
                margin-bottom: 30px;

                h2 {
                    display: inline;
                    font-weight: 600;
                    font-size: 40px;
                }

                span {
                    display: block;
                    color: rgb(136, 135, 154);
                    margin-top: 10px;
                }
            }

            // 重置密码输入框样式
            .forget-input {

                // 重置密码标签样式
                label {
                    font-weight: 600;
                    color: rgb(41, 40, 78);
                }

                // 输入框样式
                .input {
                    display: block;
                    margin: 10px 0;
                    width: 100%;
                    height: 50px;
                    border: 1px solid rgb(201, 200, 207);
                    border-radius: 8px;
                    padding: 10px;
                    box-sizing: border-box;
                    outline: none;
                    font-size: 20px;
                    font-weight: 200;

                    &:hover,
                    &:focus {
                        border: 1px solid rgb(155, 181, 247);
                    }
                }

                // 验证码输入框盒子样式
                .code-pane {
                    position: relative;

                    // 验证码输入框样式
                    .code {
                        padding-right: 130px;
                    }

                    // 验证码按钮样式
                    .code-button {
                        display: block;
                        position: absolute;
                        top: 31px;
                        right: 0px;
                        width: 120px;
                        height: 50px;
                        font-size: 18px;
                        padding: 0;
                        background-color: transparent;
                        border: none;
                        transition: color $transitionTime;
                        cursor: pointer;

                        &:hover {
                            color: rgb(47, 44, 146);
                        }

                        &:disabled {
                            color: rgb(200, 200, 200);
                            cursor: not-allowed;
                        }
                    }
                }

                // 重置密码按钮
                .reset-button {
                    width: 100%;
                    height: 50px;
                    color: #fff;
                    background: linear-gradient(to right,
                            rgb(93, 172, 250) 0%,
                            rgb(95, 139, 250) 40%,
                            rgb(97, 96, 251) 70%,
                            rgb(154, 140, 252) 100%);
                    border-radius: 10px;
                    border: 0;
                    margin-top: 20px;
                    margin-bottom: 20px;
                    font-size: 20px;
                    transition: opacity $transitionTime;
                    cursor: pointer;

                    &:hover {
                        opacity: 0.5;
                    }
                }

                // 选项框样式
                .options {
                    display: flex;
                    justify-content: space-between;

                    a {
                        background-image: linear-gradient(to right,
                                rgb(93, 172, 250) 0%,
                                rgb(95, 139, 250) 40%,
                                rgb(97, 96, 251) 70%,
                                rgb(154, 140, 252) 100%);
                        background-clip: text;
                        color: transparent;
                        transition: opacity $transitionTime;
                        cursor: pointer;

                        &:hover {
                            opacity: 0.5;
                        }
                    }
                }
            }
        }
    }
}